import base_request from '@/config/axios'

export interface StudentSyncVO {
  schoolId: string
  collegeId: string
  classesId: string
}

// 同步基础信息
export const syncBaseData = async () => {
  return await base_request.base_post({ url: `/cmis/csbusiness/sync-base-data` })
}

// 同步学生信息
export const syncStudentData = async (data: StudentSyncVO) => {
  return await base_request.base_post({ url: `/cmis/csbusiness/sync-student-data`, data })
}
